using namespace Osp::Graphics::Opengl;

#define MAIN_LINE_WIDTH 0.08
#define MAIN_LINE_HEIGHT 0.5

#define BOUNDARY_WIDTH 0.04
#define BOUNDARY_HEIGHT 0.5

#define TRAIL_LENGHT 0.6

GLfloat mainLine[] =
{
		0.0 - MAIN_LINE_WIDTH / 2, 0 - MAIN_LINE_HEIGHT / 2,
		0.0 - MAIN_LINE_WIDTH / 2, 0 + MAIN_LINE_HEIGHT / 2,

		0.0 + MAIN_LINE_WIDTH / 2, 0 - MAIN_LINE_HEIGHT / 2,
		0.0 + MAIN_LINE_WIDTH / 2, 0 + MAIN_LINE_HEIGHT / 2
};

GLfloat boundaryLineLeft[] =
{
		-0.1 - BOUNDARY_WIDTH / 2, 0 - BOUNDARY_HEIGHT / 2,
		-0.1 - BOUNDARY_WIDTH / 2, 0 + BOUNDARY_HEIGHT / 2,

		-0.1 + BOUNDARY_WIDTH / 2, 0 - BOUNDARY_HEIGHT / 2,
		-0.1 + BOUNDARY_WIDTH / 2, 0 + BOUNDARY_HEIGHT / 2
};

GLfloat boundaryLineRight[] =
{
		0.1 - BOUNDARY_WIDTH / 2, 0 - BOUNDARY_HEIGHT / 2,
		0.1 - BOUNDARY_WIDTH / 2, 0 + BOUNDARY_HEIGHT / 2,

		0.1 + BOUNDARY_WIDTH / 2, 0 - BOUNDARY_HEIGHT / 2,
		0.1 + BOUNDARY_WIDTH / 2, 0 + BOUNDARY_HEIGHT / 2
};

GLfloat boundaryLinesTextureCoords[] =
{
		 0.0,  0.0,
		 0.0,  1.0,
		 1.0,  0.0,
		 1.0,  1.0
};

GLfloat lineGradient[] =
{
		-TRAIL_LENGHT, -MAIN_LINE_HEIGHT / 2,
		-TRAIL_LENGHT,  MAIN_LINE_HEIGHT / 2,

		0, -MAIN_LINE_HEIGHT / 2,
		0,  MAIN_LINE_HEIGHT / 2
};

GLfloat lineLeftGradient[] =
{
		TRAIL_LENGHT, -MAIN_LINE_HEIGHT / 2,
		TRAIL_LENGHT,  MAIN_LINE_HEIGHT / 2,

		0, -MAIN_LINE_HEIGHT / 2,
		0,  MAIN_LINE_HEIGHT / 2
};
